<template>
	<view style="background-color: #555555; height: 1000px;">
	<view>选择结果:	{{selectValue}}</view>
	<view>选择对象:	{{selectItem}}</view>
	<view style="background-color: #ffffff;  padding: 10px;">
		<alvin-select v-model="selectValue" @change="doSelectedChanged" filterable :options="options"></alvin-select>
	</view>
	</view>
</template>

<script>
	 // import xx from '../../uni_modules/';
	export default {
		data() {
			return {
				selectValue: 2,
				selectItem: null,
				options: [
					{
						value: 1,
						label: '刘大'
					},
					{
						value: 2,
						label: '关二'
					},
					{
						value: 3,
						label: '张三'
					},
					{
						value: 4,
						label: '赵四'
					},
					{
						value: 5,
						label: '诸5'
					}
				]
			}
		},
		methods: {
			doSelectedChanged(e){
				console.log(e)
				this.selectItem = e;
			}
		}
	}
</script>

<style>

</style>
